/*
 * @Author: zxc
 * @Date: 2020-08-11 13:21:53
 * @LastEditTime: 2020-08-17 11:08:27
 * @LastEditors: zxc
 * @Description: 路由
 */
import React from "react";
import { BrowserRouter} from "react-router-dom";
import { renderRoutes } from 'react-router-config';
import config from './config';

const routes = (
  <BrowserRouter>
    {
      renderRoutes( config )
    }
  </BrowserRouter>
)
export default routes;
